<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

  </head>
  <body>
    <div class="definicion">
${DefinicionUtils.buildHeaderList('operario', 'search')}
      <g:if test="${flash.message}">
        <div class="message">${flash.message}</div>
      </g:if>
      <div class="consulta">
        <table align="center" width="90%">
          <thead>
            <tr>
          <g:sortableColumn property="cedula" title="C&eacute;dula" width="100"/>
          <g:sortableColumn property="nombres" title="Nombres" width="200"/>
          <g:sortableColumn property="apellidos" title="Apellidos" width="200"/>
          <g:observe classes="${['sortable']}" event="click" function="clickPag"/>
          </tr>
          </thead>
          <tbody>
          <g:each in="${operarioInstanceList}" status="i" var="operarioInstance">
            <tr class="${(i % 2) == 0 ? 'odd' : 'even'}" onclick="return goTo('operario','create','eOc=edit&amp;id=${operarioInstance.id}','definicion_show')" style="cursor: pointer">
              
              <td>${fieldValue(bean:operarioInstance, field:'cedula')}</td>
              <td>${fieldValue(bean:operarioInstance, field:'nombres')}</td>
              <td>${fieldValue(bean:operarioInstance, field:'apellidos')}</td>
            </tr>
          </g:each>
          </tbody>
        </table>
      </div>
      <div class="paginateButtons">
        <g:paginate total="${operarioInstanceTotal}" />
        <g:observe classes="${['step','prevLink','nextLink']}" event="click" function="clickPag"/>
      </div>
    </div>
  </body>
</html>